﻿using Loki.UI;

namespace Luna.UI
{
    public class ApplicationMenuViewModel : ContainerAllActive<NavigationElement>
    {
        public ApplicationMenuViewModel()
        {
            DisplayName = "Menu principal";
        }

        protected override void OnInitialize()
        {
            base.OnInitialize();

            Items.Add(new CommandElement() { DisplayName = "Rechercher", Command = ApplicationCommands.SEARCH });
            Items.Add(new CommandElement() { DisplayName = "Ouvrir", Command = ApplicationCommands.DATA_OPEN });
            Items.Add(new CommandElement() { DisplayName = "Ajouter", Command = ApplicationCommands.NEW });
            Items.Add(new CommandElement() { DisplayName = "Rafraichir", Command = Loki.Commands.ApplicationCommands.REFRESH });
            Items.Add(new CommandElement() { DisplayName = "Export", Command = Loki.Commands.ApplicationCommands.EXPORT });
            Items.Add(new CommandElement() { DisplayName = "Sauvegarder", Command = Loki.Commands.ApplicationCommands.SAVE });
            Items.Add(new CommandElement() { DisplayName = "Google", Command = ApplicationCommands.GOOGLE_REFRESH });
            Items.Add(new CommandElement() { DisplayName = "ZoHo", Command = ApplicationCommands.ZOHO_REFRESH });
        }
    }
}